package org.jeecg.modules.charge.mapper;

import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.charge.entity.ComCardInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 就诊卡信息
 * @Author: jeecg-boot
 * @Date:   2022-05-14
 * @Version: V1.0
 */
public interface ComCardInfoMapper extends BaseMapper<ComCardInfo> {

    /**
     * 卡号查询卡信息
     * @param cardNumber 卡号
     * @return 信息
     */
    ComCardInfo getByCardNumber(String cardNumber);

    void updateBalance(String id, BigDecimal balance);


}
